﻿using System;
using System.Collections.Generic;
using FreeSql.DataAnnotations;

namespace QuDao
{
	public class CategoryDto
	{
		/// <summary>
        /// 类别ID
        /// </summary>
		public int CategoryID { get; set; }
		
		/// <summary>
        /// 租户ID
        /// </summary>
		public int TID { get; set; }
		
		/// <summary>
        /// 类别名称
        /// </summary>
		public string CategoryName { get; set; }
		
		/// <summary>
        /// 是否启用：0-禁用，1-启用
        /// </summary>
		public bool IsEnable { get; set; }
		
		/// <summary>
        /// 创建时间
        /// </summary>
		public DateTime CreateTime { get; set; }
		
				
	}
	
	public class CategoryAddDto
	{
		/// <summary>
        /// 租户ID
        /// </summary>
		public int TID { get; set; }
		
		/// <summary>
        /// 类别名称
        /// </summary>
		public string CategoryName { get; set; }
		
		/// <summary>
        /// 排序标志：值大的排前面
        /// </summary>
		public int SortFlag { get; set; }

        /// <summary>
        /// 是否启用：0-禁用，1-启用
        /// </summary>
        public bool IsEnable { get; set; }


    }

    public class CategoryModifyDto : CategoryAddDto
	{
		/// <summary>
		/// 主键ID
		/// </summary>
		public int CategoryID { get; set; }
	}
	
	public class CategoryDetailsDto : Category
	{
	}
	
}